﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace HR.ProjectX.GUI.ViewModels.Customer
{
    public class CustomerRegisterView
    {
        public bool HasIssue { get; set; }
        public string Message { get; set; }

        [Required(ErrorMessage = "Enter your name.")]
        public string Name { get; set; }
        [Required(ErrorMessage = "Enter your gender.")]
        public string Gender { get; set; }
        [Required(ErrorMessage = "Enter your email.")]
        public string Email { get; set; }
        [Required(ErrorMessage = "Enter your phonenumber.")]
        public string PhoneNumber { get; set; }
        [Required(ErrorMessage = "Enter your address.")]
        public string Address { get; set; }
        [Required(ErrorMessage = "Enter your town.")]
        public string Town { get; set; }
        [Required(ErrorMessage = "Enter your country.")]
        public string Country { get; set; }
    }
}